package com.itany.corejava.code06_面向对象.封装;

/**
 * @author 石小俊
 * @date 2024年01月16日 9:54
 */
public class TestPoker {

    public static void main(String[] args) {
        Poker poker = new Poker();
        Card[] cards = poker.getCards();
        for (Card card : cards) {
            System.out.print(card.getColor() + card.getNum() + "\t");
        }
        System.out.println();
        poker.shuffleCard();
        cards = poker.getCards();
        for (Card card : cards) {
            System.out.print(card.getColor() + card.getNum() + "\t");
        }
    }

}
